using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN TrangThaiEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: TrangThaiEntity</para>
	/// <para>Description: ClassTrangThaiEntity store data of table TrangThai</para>
	///</summary>

	[DataContract]
	public partial class TrangThaiEntity{


		private bool _InternalChangedIsNullTrangThai_ID=true;
		private bool _IsNullTrangThai_ID=true;
		private bool _InternalChangedIsNullMaTrangThai=true;
		private bool _IsNullMaTrangThai=true;
		private bool _InternalChangedIsNullTenTrangThai=true;
		private bool _IsNullTenTrangThai=true;
		private bool _InternalChangedIsNullMoTaTrangThai=true;
		private bool _IsNullMoTaTrangThai=true;
		private int _TrangThai_ID;
		private string _MaTrangThai;
		private string _TenTrangThai;
		private string _MoTaTrangThai;
		[DataMember]
		public bool IsNullTrangThai_ID{
			get{return _IsNullTrangThai_ID;}
			set{if(!_InternalChangedIsNullTrangThai_ID)_IsNullTrangThai_ID=value;}
		}
		[DataMember]
		public bool IsNullMaTrangThai{
			get{return _IsNullMaTrangThai;}
			set{if(!_InternalChangedIsNullMaTrangThai)_IsNullMaTrangThai=value;}
		}
		[DataMember]
		public bool IsNullTenTrangThai{
			get{return _IsNullTenTrangThai;}
			set{if(!_InternalChangedIsNullTenTrangThai)_IsNullTenTrangThai=value;}
		}
		[DataMember]
		public bool IsNullMoTaTrangThai{
			get{return _IsNullMoTaTrangThai;}
			set{if(!_InternalChangedIsNullMoTaTrangThai)_IsNullMoTaTrangThai=value;}
		}
		[DataMember]
		public int TrangThai_ID{
			get{return _TrangThai_ID;}
			set{
				_TrangThai_ID=value;
				if(_TrangThai_ID!=null){
					_IsNullTrangThai_ID=false;
					_InternalChangedIsNullTrangThai_ID=true;
				}
			}
		}
		[DataMember]
		public string MaTrangThai{
			get{return _MaTrangThai;}
			set{
				_MaTrangThai=value;
				if(_MaTrangThai!=null){
					_IsNullMaTrangThai=false;
					_InternalChangedIsNullMaTrangThai=true;
				}
			}
		}
		[DataMember]
		public string TenTrangThai{
			get{return _TenTrangThai;}
			set{
				_TenTrangThai=value;
				if(_TenTrangThai!=null){
					_IsNullTenTrangThai=false;
					_InternalChangedIsNullTenTrangThai=true;
				}
			}
		}
		[DataMember]
		public string MoTaTrangThai{
			get{return _MoTaTrangThai;}
			set{
				_MoTaTrangThai=value;
				if(_MoTaTrangThai!=null){
					_IsNullMoTaTrangThai=false;
					_InternalChangedIsNullMoTaTrangThai=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END TrangThaiEntityBase*****************************************/
	/*****************************************************************************************************/
}

